<style>
    .form-group{width:50%;float: left;}
    .form-control1{width: 100%;
        height: 31px;
        padding: 6px 12px;
        font-size: 12px;
        line-height: 1.42857143;
        color: #555555;
        background-color: #fff;
        background-image: none;}
</style>

<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-phone" class="control-label col-xs-12 col-sm-3">{:__('Phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-control1">{$row.phone}</div>
        </div>
    </div>

    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-3">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-control1">
                {switch name="row.status"}
                    {case value="1"}未注册{/case}
                    {case value="1"}已注册{/case}
                    {case value="2"}已认证{/case}
                    {case value="3"}已绑卡{/case}
                    {default /}
                {/switch}

            </div>
        </div>
    </div>

    <div class="form-group">
        <label for="c-idCard" class="control-label col-xs-12 col-sm-3">{:__('JxAccount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-control1">{$row.jxAccount}</div>
        </div>
    </div>

    <div class="form-group">
        <label for="c-openTime" class="control-label col-xs-12 col-sm-3">{:__('OpenTime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-control1">{$row.openTime|datetime}</div>
        </div>
    </div>

    <div class="form-group">
        <label for="c-idCard" class="control-label col-xs-12 col-sm-3">{:__('IdCard')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-control1">{$row.idCard}</div>
        </div>
    </div>
    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-3">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-control1">{$row.name}</div>
        </div>
    </div>

    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-3">{:__('Appshop')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-control1">{$row.appShop}</div>
        </div>
    </div>

    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-3">{:__('Promotion')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-control1">{$row.promotion}</div>
        </div>
    </div>

    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-3">{:__('IdCards')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-control1">{$row.bank}{$row.idCards}</div>
        </div>
    </div>

    <div class="form-group">
        <label for="c-createTime" class="control-label col-xs-12 col-sm-3">{:__('CreateTime1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-control1">{$row.createTime1|datetime}</div>
        </div>
    </div>

    <div class="form-group">
        <label for="c-sex" class="control-label col-xs-12 col-sm-3">{:__('Sex')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-control1">{$row.sex}</div>
        </div>
    </div>

    <div class="form-group">
        <label for="c-company" class="control-label col-xs-12 col-sm-3">{:__('Company')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-control1">
                {if condition="$row.company==1"} 企业用户 {else} 普通用户  {/if}
            </div>
        </div>
    </div>


    <div class="form-group">
        <label for="c-createTime" class="control-label col-xs-12 col-sm-3">{:__('CreateTime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="form-control1">{$row.createTime|datetime}</div>
        </div>
    </div>


    <div class="form-group">
        <label for="c-email" class="control-label col-xs-12 col-sm-3">{:__('Email')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-email" data-rule="" class="form-control" name="row[email]" type="text" value="{$row.email}">
        </div>
    </div>

    <div class="form-group">
        <label for="c-qq" class="control-label col-xs-12 col-sm-3">{:__('Qq')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-qq" data-rule="" class="form-control" name="row[qq]" type="text" value="{$row.qq}">
        </div>
    </div>

    <div class="form-group">
        <label for="c-qq" class="control-label col-xs-12 col-sm-3">{:__('Wangwang')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wangwang" data-rule="" class="form-control" name="row[wangwang]" type="text" value="{$row.wangwang}">
        </div>
    </div>

    <div class="form-group">
            <label for="c-tel" class="control-label col-xs-12 col-sm-3">{:__('Tel')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-tel" data-rule="" class="form-control" name="row[tel]" type="text" value="{$row.tel}">
            </div>
    </div>


    <div class="form-group">
        <label for="c-tel" class="control-label col-xs-12 col-sm-3">{:__('Suozaidi')}:</label>
        <div class="col-xs-12 col-sm-8" data-toggle="cxselect" data-url="/assets/libs/jquery-cxselect/js/cityData.min.json" data-selects="province,city,district" data-json-space="" data-json-name="n" data-json-value="">
            <select class="province form-control" name="row[province]" data-first-title="选择省" style="width: 70px;">
                <option value="">请选择</option>
                <option value="{$row.province2}" selected="">{$row.province2}</option>
            </select>
            <select class="city form-control"  name="row[city]"  data-first-title="选择市" style="width: 70px;">
                <option value="">请选择</option>
                <option value="{$row.city2}" selected="">{$row.city2}</option>
            </select>
            <select class="district form-control"  name="row[district]"  data-first-title="选择市" style="width: 70px;">
                <option value="">请选择</option>
                <option value="{$row.district2}" selected="">{$row.district2}</option>
            </select>
        </div>
    </div>


    <div class="form-group">
        <label for="c-tel" class="control-label col-xs-12 col-sm-3">{:__('Address2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address2" data-rule="" class="form-control" name="row[address]" type="text" value="{$row.address2}">
        </div>
    </div>





    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-3"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <!--<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>-->
        </div>
    </div>
</form>
